macos: fix calculation of mouse position
authorChristian Hergert <chergert@redhat.com>
Thu, 5 Nov 2020 02:02:04 +0000 (18:02 -0800)
committerChristian Hergert <chergert@redhat.com>
Thu, 5 Nov 2020 02:03:54 +0000 (18:03 -0800)
commitc31c3848df45932ea1229e5b3b76ab0b308b42e7
tree921099caca2b112c9dd43305e46dd6dc6831ccb6
parentb0e0af1838903e00bd3da174ee55153b7097aa6a
macos: fix calculation of mouse position

This fixes the calculation of the position of the pointer over the surface
which was incorrectly providing negative values.
gdk/macos/gdkmacossurface.c